Skip to content

Bump ruamel-yaml from 0.18.6 to 0.18.10 #107

Bump ruamel-yaml from 0.18.6 to 0.18.10

Bump ruamel-yaml from 0.18.6 to 0.18.10 #107

Workflow file for this run

name: "CI Tests"
on:
push:
branches:
- master
pull_request:
branches:
- master
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
code-ql-check:
name: "SWIRL Compiler CodeQL check"
runs-on: ubuntu-22.04
permissions:
security-events: write
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
config-file: .github/codeql/config.yml
languages: python
- uses: github/codeql-action/analyze@v3
docker-image:
name: "SWIRL Compiler Docker image tests"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: "Build Docker image"
uses: docker/build-push-action@v6
with:
load: true
tags: alphaunito/swirlc:latest
static-checks:
name: "SWIRL Compiler static checks"
runs-on: ubuntu-22.04
strategy:
matrix:
step: [ "bandit", "lint" ]
env:
TOXENV: ${{ matrix.step }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: |
requirements.txt
test-requirements.txt
tox.ini
- name: "Install Python Dependencies and SWIRL Compiler"
run: |
python -m pip install tox --user
python -m pip install . --user
- name: "Run SWIRL Compiler static analysis via Tox"
run: tox
unit-tests:
name: "SWIRL Compiler unit tests"
strategy:
matrix:
on: [ "ubuntu-22.04"]
python: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
runs-on: ${{ matrix.on }}
env:
TOXENV: ${{ format('py{0}-unit', matrix.python) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: pip
cache-dependency-path: |
requirements.txt
tox.ini
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: "Install Python Dependencies and SWIRL Compiler"
run: |
python -m pip install tox --user
python -m pip install . --user
- name: "Run SWIRL Compiler tests via Tox"
run: python -m tox
- name: "Upload coverage report for unit tests"
uses: actions/upload-artifact@v4
with:
name: ${{ format('{0}-py{1}-unit-tests', matrix.on, matrix.python) }}
path: ./coverage.xml
retention-days: 1
if-no-files-found: error