Implement/fix backup and cleanup of the library and fix models/file.py for context manager #1867
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SCAutolib Unit test | |
on: | |
repository_dispatch: | |
types: [test-from-dispatch] | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- master | |
- V2** | |
workflow_dispatch: | |
jobs: | |
test: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
container: | |
image: plovec/rhel8-smartcards:latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Unit tests | |
run: tox -e ci |